/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package commons;

/**
 *
 * @author zeta
 */
public class SessionExample {
    
    private SessionExample() {
    }
    
    public static SessionExample getInstance() {
        return SessionExampleHolder.INSTANCE;
    }
    
    private static class SessionExampleHolder {

        private static final SessionExample INSTANCE = new SessionExample();
    }
    
//    private User user;
//
//    public User getUser() {
//        return user;
//    }
//
//    public void setUser(User user) {
//        this.user = user;
//    }
//    
//    private JDesktopPane desktopPane;
//
//    public JDesktopPane getDesktopPane() {
//        return desktopPane;
//    }
//
//    public void setDesktopPane(JDesktopPane desktopPane) {
//        this.desktopPane = desktopPane;
//    }
//    
//    public void addViewToDesktopPanel(JInternalFrame internalFrame){
//        this.desktopPane.add(internalFrame);
//    }
//    public void removeViewToDesktopPanel(JInternalFrame internalFrame){
//        this.desktopPane.remove(internalFrame);
//    }
}
